#import <MapKit/MapKit.h>
#import "TouchedGestureRecognizer.h"

@class LocationAnnotationView;

@protocol LocationAnnotationViewProtocol <NSObject>
- (void)touchesOneClickCallbackWithAnnotation:(id<MKAnnotation>)annotation;
- (void)touchesDoubleClickCallbackWithAnnotation:(id<MKAnnotation>)annotation;
@end

@interface LocationAnnotationView : MKAnnotationView <TouchedGestureRecognizerProtocol, UIGestureRecognizerDelegate>
{ 

}
@property (nonatomic, assign) id<LocationAnnotationViewProtocol> delegate;
@property (nonatomic, retain) UIImageView *imageViewAvatar;
@property (nonatomic, retain) UIImageView *imageViewAvailability;
@property (nonatomic, retain) UIButton *btnRemainingDay;

- (void)initInterfaceFromAnotation:(id <MKAnnotation>)annotation;
- (void)loadInterfaceFromAnotation:(id<MKAnnotation>)annotation;
- (void)didSelectAnnotationView;
- (void)didDeselectAnnotationView;
- (id)initWithAnnotation:(id <MKAnnotation>)annotation reuseIdentifier:(NSString *)reuseIdentifier andDelegate:(id)delegate;
@end